<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.5"/>
<title>NavBar: NavBar Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { searchBox.OnSelectItem(0); });
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td style="padding-left: 0.5em;">
   <div id="projectname">NavBar
   </div>
   <div id="projectbrief">Outlook-like navigation bar for Qt</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.5 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
      <li><a href="files.html"><span>Files</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="annotated.html"><span>Class&#160;List</span></a></li>
      <li><a href="classes.html"><span>Class&#160;Index</span></a></li>
      <li><a href="inherits.html"><span>Class&#160;Hierarchy</span></a></li>
      <li><a href="functions.html"><span>Class&#160;Members</span></a></li>
    </ul>
  </div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Properties</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&#160;</span>Pages</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#pub-types">Public Types</a> &#124;
<a href="#pub-slots">Public Slots</a> &#124;
<a href="#signals">Signals</a> &#124;
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pub-static-methods">Static Public Member Functions</a> &#124;
<a href="#pro-methods">Protected Member Functions</a> &#124;
<a href="#properties">Properties</a> &#124;
<a href="#friends">Friends</a> &#124;
<a href="class_nav_bar-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">NavBar Class Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p>Outlook-like navigation bar.  
 <a href="class_nav_bar.html#details">More...</a></p>
<div class="dynheader">
Inheritance diagram for NavBar:</div>
<div class="dyncontent">
<div class="center"><img src="class_nav_bar__inherit__graph.png" border="0" usemap="#_nav_bar_inherit__map" alt="Inheritance graph"/></div>
<center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-types"></a>
Public Types</h2></td></tr>
<tr class="memitem:a959ef928b8c76dad75cd59dcaededb2e"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom">{ <b>NavBarMarker</b> = 0x4e426172
 }</td></tr>
<tr class="separator:a959ef928b8c76dad75cd59dcaededb2e"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-slots"></a>
Public Slots</h2></td></tr>
<tr class="memitem:ac6dc50ef2979d1f24c14671fc90c0625"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_nav_bar.html#ac6dc50ef2979d1f24c14671fc90c0625">setAutoPopup</a> (bool enable)</td></tr>
<tr class="separator:ac6dc50ef2979d1f24c14671fc90c0625"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3b3be5fde1c354c347290095979dda9a"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_nav_bar.html#a3b3be5fde1c354c347290095979dda9a">setCollapsed</a> (bool collapse)</td></tr>
<tr class="separator:a3b3be5fde1c354c347290095979dda9a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a303f26023046c5af7d65a3ef8dab4462"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_nav_bar.html#a303f26023046c5af7d65a3ef8dab4462">setCurrentIndex</a> (int index)</td></tr>
<tr class="separator:a303f26023046c5af7d65a3ef8dab4462"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a39db728c69e16b13b3eb17ac270d2cf4"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_nav_bar.html#a39db728c69e16b13b3eb17ac270d2cf4">setCurrentWidget</a> (QWidget *<a class="el" href="class_nav_bar.html#a98a5ec36278fd554e4f0614e11da5a21">widget</a>)</td></tr>
<tr class="separator:a39db728c69e16b13b3eb17ac270d2cf4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad6b3ef38648f8e8518711a66bc286cdd"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_nav_bar.html#ad6b3ef38648f8e8518711a66bc286cdd">setRowHeight</a> (int height)</td></tr>
<tr class="separator:ad6b3ef38648f8e8518711a66bc286cdd"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac8f7b20544a4005a763d1c7c47fd2795"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_nav_bar.html#ac8f7b20544a4005a763d1c7c47fd2795">setShowCollapseButton</a> (bool show)</td></tr>
<tr class="separator:ac8f7b20544a4005a763d1c7c47fd2795"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5931980f3ac2882f397c270280c83700"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_nav_bar.html#a5931980f3ac2882f397c270280c83700">setShowHeader</a> (bool show)</td></tr>
<tr class="separator:a5931980f3ac2882f397c270280c83700"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab434dd117c10f302a049e5fe91b74bee"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_nav_bar.html#ab434dd117c10f302a049e5fe91b74bee">setShowOptionsMenu</a> (bool show)</td></tr>
<tr class="separator:ab434dd117c10f302a049e5fe91b74bee"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a419bd4b209cb89eee639f0ccde62f8a4"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_nav_bar.html#a419bd4b209cb89eee639f0ccde62f8a4">setVisibleRows</a> (int rows)</td></tr>
<tr class="separator:a419bd4b209cb89eee639f0ccde62f8a4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6033ae6af305424a006f6eb361cceaa7"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_nav_bar.html#a6033ae6af305424a006f6eb361cceaa7">showOptionsDialog</a> ()</td></tr>
<tr class="separator:a6033ae6af305424a006f6eb361cceaa7"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="signals"></a>
Signals</h2></td></tr>
<tr class="memitem:ae9b436da1adb6306d615d1dcc9a5cdeb"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_nav_bar.html#ae9b436da1adb6306d615d1dcc9a5cdeb">currentChanged</a> (int index)</td></tr>
<tr class="separator:ae9b436da1adb6306d615d1dcc9a5cdeb"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a87fab1414f5f542fb9443baaf65c6beb"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_nav_bar.html#a87fab1414f5f542fb9443baaf65c6beb">stateChanged</a> (bool <a class="el" href="class_nav_bar.html#accea864af84adccce1b939d298030cba">collapsed</a>)</td></tr>
<tr class="separator:a87fab1414f5f542fb9443baaf65c6beb"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af9c86e54eb3d993f6c5dfca101481102"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_nav_bar.html#af9c86e54eb3d993f6c5dfca101481102">visibleRowsChanged</a> (int rows)</td></tr>
<tr class="separator:af9c86e54eb3d993f6c5dfca101481102"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:a2cb52d3d9663cccdf42853e5c68d07c9"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_nav_bar.html#a2cb52d3d9663cccdf42853e5c68d07c9">NavBar</a> (QWidget *parent=0, Qt::WindowFlags f=0)</td></tr>
<tr class="separator:a2cb52d3d9663cccdf42853e5c68d07c9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aedf27f355d73164760e1f645590e5b20"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_nav_bar.html#aedf27f355d73164760e1f645590e5b20">addPage</a> (QWidget *page)</td></tr>
<tr class="separator:aedf27f355d73164760e1f645590e5b20"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a042829d06339f41eff9c3a3950271373"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_nav_bar.html#a042829d06339f41eff9c3a3950271373">addPage</a> (QWidget *page, const QString &amp;text)</td></tr>
<tr class="separator:a042829d06339f41eff9c3a3950271373"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a39ebd1d20f4250d653a08fdbf4a3884b"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_nav_bar.html#a39ebd1d20f4250d653a08fdbf4a3884b">addPage</a> (QWidget *page, const QString &amp;text, const QIcon &amp;icon)</td></tr>
<tr class="separator:a39ebd1d20f4250d653a08fdbf4a3884b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab9a5db492bbfec8d1c86b5f73b4d6c0c"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ab9a5db492bbfec8d1c86b5f73b4d6c0c"></a>
bool&#160;</td><td class="memItemRight" valign="bottom"><b>autoPopup</b> () const </td></tr>
<tr class="separator:ab9a5db492bbfec8d1c86b5f73b4d6c0c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7c4011c5faa0f999fdf77ebe6d47156e"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a7c4011c5faa0f999fdf77ebe6d47156e"></a>
int&#160;</td><td class="memItemRight" valign="bottom"><b>count</b> () const </td></tr>
<tr class="separator:a7c4011c5faa0f999fdf77ebe6d47156e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aada6a7ebbd6bf406ce74dbb964a0612e"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aada6a7ebbd6bf406ce74dbb964a0612e"></a>
int&#160;</td><td class="memItemRight" valign="bottom"><b>currentIndex</b> () const </td></tr>
<tr class="separator:aada6a7ebbd6bf406ce74dbb964a0612e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a13750e3fdf2448e12eca696737a49530"><td class="memItemLeft" align="right" valign="top">QWidget *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_nav_bar.html#a13750e3fdf2448e12eca696737a49530">currentWidget</a> () const </td></tr>
<tr class="separator:a13750e3fdf2448e12eca696737a49530"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a266821cb9764b56cfacd81973b3ba94d"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_nav_bar.html#a266821cb9764b56cfacd81973b3ba94d">indexOf</a> (QWidget *<a class="el" href="class_nav_bar.html#a98a5ec36278fd554e4f0614e11da5a21">widget</a>) const </td></tr>
<tr class="separator:a266821cb9764b56cfacd81973b3ba94d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac0bb1c58f83ec4353dd99beaa3fe3d56"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_nav_bar.html#ac0bb1c58f83ec4353dd99beaa3fe3d56">insertPage</a> (int index, QWidget *page)</td></tr>
<tr class="separator:ac0bb1c58f83ec4353dd99beaa3fe3d56"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:acacd9816c8c42d10a0fc982c374d8e9e"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_nav_bar.html#acacd9816c8c42d10a0fc982c374d8e9e">insertPage</a> (int index, QWidget *page, const QString &amp;text)</td></tr>
<tr class="separator:acacd9816c8c42d10a0fc982c374d8e9e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a05cdbcba5072c5baa9c456b5204087d4"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_nav_bar.html#a05cdbcba5072c5baa9c456b5204087d4">insertPage</a> (int index, QWidget *page, const QString &amp;text, const QIcon &amp;icon)</td></tr>
<tr class="separator:a05cdbcba5072c5baa9c456b5204087d4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2fe9f8f0d945d05ebbaf9d38d2fdfed9"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a2fe9f8f0d945d05ebbaf9d38d2fdfed9"></a>
bool&#160;</td><td class="memItemRight" valign="bottom"><b>isCollapsed</b> () const </td></tr>
<tr class="separator:a2fe9f8f0d945d05ebbaf9d38d2fdfed9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae420554de1707e6e0c70a96b38a0781a"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_nav_bar.html#ae420554de1707e6e0c70a96b38a0781a">isPageEnabled</a> (int index)</td></tr>
<tr class="separator:ae420554de1707e6e0c70a96b38a0781a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a566345ec6b97867a761cb155d41b9136"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_nav_bar.html#a566345ec6b97867a761cb155d41b9136">isPageVisible</a> (int index)</td></tr>
<tr class="separator:a566345ec6b97867a761cb155d41b9136"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a911073932d72558c6a8174e4a649e1c3"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a911073932d72558c6a8174e4a649e1c3"></a>
QSize&#160;</td><td class="memItemRight" valign="bottom"><b>largeIconSize</b> () const </td></tr>
<tr class="separator:a911073932d72558c6a8174e4a649e1c3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4a71dfcef64798671896672a4f69e58d"><td class="memItemLeft" align="right" valign="top">QIcon&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_nav_bar.html#a4a71dfcef64798671896672a4f69e58d">pageIcon</a> (int index) const </td></tr>
<tr class="separator:a4a71dfcef64798671896672a4f69e58d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac35c6bf4f4266aa5cdcb8391a2f5f804"><td class="memItemLeft" align="right" valign="top">QString&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_nav_bar.html#ac35c6bf4f4266aa5cdcb8391a2f5f804">pageText</a> (int index) const </td></tr>
<tr class="separator:ac35c6bf4f4266aa5cdcb8391a2f5f804"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5bdebb47417bfee027992f9753a80b86"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_nav_bar.html#a5bdebb47417bfee027992f9753a80b86">removePage</a> (int index)</td></tr>
<tr class="separator:a5bdebb47417bfee027992f9753a80b86"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ace150d052fedc597fffad818dae23991"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_nav_bar.html#ace150d052fedc597fffad818dae23991">restoreState</a> (const QByteArray &amp;state, int version=0)</td></tr>
<tr class="separator:ace150d052fedc597fffad818dae23991"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0b4d589eea2d7fbb23c109cd84110edb"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a0b4d589eea2d7fbb23c109cd84110edb"></a>
int&#160;</td><td class="memItemRight" valign="bottom"><b>rowHeight</b> () const </td></tr>
<tr class="separator:a0b4d589eea2d7fbb23c109cd84110edb"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afdf5ff0a9c4f1ad8d4ffb156f8829038"><td class="memItemLeft" align="right" valign="top">QByteArray&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_nav_bar.html#afdf5ff0a9c4f1ad8d4ffb156f8829038">saveState</a> (int version=0) const </td></tr>
<tr class="separator:afdf5ff0a9c4f1ad8d4ffb156f8829038"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2fa35eab7589e39fbc6aa4a3ed56e4d6"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_nav_bar.html#a2fa35eab7589e39fbc6aa4a3ed56e4d6">setLargeIconSize</a> (const QSize &amp;size)</td></tr>
<tr class="separator:a2fa35eab7589e39fbc6aa4a3ed56e4d6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:adaf5fb9de50c269d18641d39c82af7e1"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_nav_bar.html#adaf5fb9de50c269d18641d39c82af7e1">setPageEnabled</a> (int index, bool enabled)</td></tr>
<tr class="separator:adaf5fb9de50c269d18641d39c82af7e1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a632866b095291d8cf1a9ac3a36e8047f"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_nav_bar.html#a632866b095291d8cf1a9ac3a36e8047f">setPageIcon</a> (int index, const QIcon &amp;icon)</td></tr>
<tr class="separator:a632866b095291d8cf1a9ac3a36e8047f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a91aa1689149141f84340c1c7b19c73fa"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_nav_bar.html#a91aa1689149141f84340c1c7b19c73fa">setPageText</a> (int index, const QString &amp;text)</td></tr>
<tr class="separator:a91aa1689149141f84340c1c7b19c73fa"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a161eef29241e02a9021d944626c758e0"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_nav_bar.html#a161eef29241e02a9021d944626c758e0">setPageVisible</a> (int index, bool visible)</td></tr>
<tr class="separator:a161eef29241e02a9021d944626c758e0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aead1e4b4549255b8605b852770d996bf"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_nav_bar.html#aead1e4b4549255b8605b852770d996bf">setSmallIconSize</a> (const QSize &amp;size)</td></tr>
<tr class="separator:aead1e4b4549255b8605b852770d996bf"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a65f7edeaffff2b04566ff80376ee89b3"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a65f7edeaffff2b04566ff80376ee89b3"></a>
bool&#160;</td><td class="memItemRight" valign="bottom"><b>showCollapseButton</b> () const </td></tr>
<tr class="separator:a65f7edeaffff2b04566ff80376ee89b3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8eda440fda1a3069026f399a2456f7a8"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a8eda440fda1a3069026f399a2456f7a8"></a>
bool&#160;</td><td class="memItemRight" valign="bottom"><b>showHeader</b> () const </td></tr>
<tr class="separator:a8eda440fda1a3069026f399a2456f7a8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1e6665b610a8cb28f669c23547701bb5"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a1e6665b610a8cb28f669c23547701bb5"></a>
bool&#160;</td><td class="memItemRight" valign="bottom"><b>showOptionsMenu</b> () const </td></tr>
<tr class="separator:a1e6665b610a8cb28f669c23547701bb5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a303c0500b6de3d12c268dac9eaad859e"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a303c0500b6de3d12c268dac9eaad859e"></a>
QSize&#160;</td><td class="memItemRight" valign="bottom"><b>sizeHint</b> () const </td></tr>
<tr class="separator:a303c0500b6de3d12c268dac9eaad859e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a761b0dcaebe1343a30b1d1964ed43e97"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a761b0dcaebe1343a30b1d1964ed43e97"></a>
QSize&#160;</td><td class="memItemRight" valign="bottom"><b>smallIconSize</b> () const </td></tr>
<tr class="separator:a761b0dcaebe1343a30b1d1964ed43e97"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aeefbfd5907a7c5bcfb0ceea50d85625d"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aeefbfd5907a7c5bcfb0ceea50d85625d"></a>
int&#160;</td><td class="memItemRight" valign="bottom"><b>visibleRows</b> () const </td></tr>
<tr class="separator:aeefbfd5907a7c5bcfb0ceea50d85625d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a98a5ec36278fd554e4f0614e11da5a21"><td class="memItemLeft" align="right" valign="top">QWidget *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_nav_bar.html#a98a5ec36278fd554e4f0614e11da5a21">widget</a> (int index) const </td></tr>
<tr class="separator:a98a5ec36278fd554e4f0614e11da5a21"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-static-methods"></a>
Static Public Member Functions</h2></td></tr>
<tr class="memitem:a5ec76402cfefe9da64c1638258cf30dc"><td class="memItemLeft" align="right" valign="top">static QString&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_nav_bar.html#a5ec76402cfefe9da64c1638258cf30dc">loadStyle</a> (const QString &amp;filename)</td></tr>
<tr class="separator:a5ec76402cfefe9da64c1638258cf30dc"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-methods"></a>
Protected Member Functions</h2></td></tr>
<tr class="memitem:a84fb56a686006fff6d7ad29dd381a412"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a84fb56a686006fff6d7ad29dd381a412"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>changeEvent</b> (QEvent *e)</td></tr>
<tr class="separator:a84fb56a686006fff6d7ad29dd381a412"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a42d7ad3862782bc48c60afbd3f3b6bf2"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a42d7ad3862782bc48c60afbd3f3b6bf2"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>resizeEvent</b> (QResizeEvent *e)</td></tr>
<tr class="separator:a42d7ad3862782bc48c60afbd3f3b6bf2"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="properties"></a>
Properties</h2></td></tr>
<tr class="memitem:ac2342f2b72fe1780a0a0c14e798c4f22"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_nav_bar.html#ac2342f2b72fe1780a0a0c14e798c4f22">autoPopup</a></td></tr>
<tr class="separator:ac2342f2b72fe1780a0a0c14e798c4f22"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:accea864af84adccce1b939d298030cba"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_nav_bar.html#accea864af84adccce1b939d298030cba">collapsed</a></td></tr>
<tr class="separator:accea864af84adccce1b939d298030cba"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad55561dee8cf9d64113f461532e258ac"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_nav_bar.html#ad55561dee8cf9d64113f461532e258ac">count</a></td></tr>
<tr class="separator:ad55561dee8cf9d64113f461532e258ac"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aaf65675f7d4a765affeb317e0db9eab9"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_nav_bar.html#aaf65675f7d4a765affeb317e0db9eab9">currentIndex</a></td></tr>
<tr class="separator:aaf65675f7d4a765affeb317e0db9eab9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac5c9bb2692316c6b35b62ed6a5a9a52a"><td class="memItemLeft" align="right" valign="top">QSize&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_nav_bar.html#ac5c9bb2692316c6b35b62ed6a5a9a52a">largeIconSize</a></td></tr>
<tr class="separator:ac5c9bb2692316c6b35b62ed6a5a9a52a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1e99abd758accd2667223ed3c1c68311"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_nav_bar.html#a1e99abd758accd2667223ed3c1c68311">rowHeight</a></td></tr>
<tr class="separator:a1e99abd758accd2667223ed3c1c68311"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a746af848ef80d6cfc14d44e72232ce4d"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_nav_bar.html#a746af848ef80d6cfc14d44e72232ce4d">showCollapseButton</a></td></tr>
<tr class="separator:a746af848ef80d6cfc14d44e72232ce4d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad64e48b9cab631ffd18e6a29e22d37c3"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_nav_bar.html#ad64e48b9cab631ffd18e6a29e22d37c3">showHeader</a></td></tr>
<tr class="separator:ad64e48b9cab631ffd18e6a29e22d37c3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afd7fbc48d10af2d8a89abaf146b3085e"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_nav_bar.html#afd7fbc48d10af2d8a89abaf146b3085e">showOptionsMenu</a></td></tr>
<tr class="separator:afd7fbc48d10af2d8a89abaf146b3085e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abd5af291f9273af49469415339411df3"><td class="memItemLeft" align="right" valign="top">QSize&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_nav_bar.html#abd5af291f9273af49469415339411df3">smallIconSize</a></td></tr>
<tr class="separator:abd5af291f9273af49469415339411df3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a68a6c79da84d770f03d172c2545c0873"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_nav_bar.html#a68a6c79da84d770f03d172c2545c0873">visibleRows</a></td></tr>
<tr class="separator:a68a6c79da84d770f03d172c2545c0873"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="friends"></a>
Friends</h2></td></tr>
<tr class="memitem:a56f7beaabdf642934082bec8afbf3873"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a56f7beaabdf642934082bec8afbf3873"></a>
class&#160;</td><td class="memItemRight" valign="bottom"><b>NavBarPageListWidget</b></td></tr>
<tr class="separator:a56f7beaabdf642934082bec8afbf3873"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>Outlook-like navigation bar. </p>
<div class="image">
<img src="navbar.png" alt="navbar.png"/>
</div>
<p> The <a class="el" href="class_nav_bar.html" title="Outlook-like navigation bar. ">NavBar</a> class provides a stack of pages where only one page is visible at a time, and page list in lower part of widget, which can be fully or partially folded into toolbar at the bottom. </p>
<dl class="section user"><dt>Example:</dt><dd><div class="fragment"><div class="line"><a class="code" href="class_nav_bar.html">NavBar</a> *navBar = <span class="keyword">new</span> <a class="code" href="class_nav_bar.html#a2cb52d3d9663cccdf42853e5c68d07c9">NavBar</a>(<span class="keyword">this</span>);</div>
<div class="line">navBar-&gt;setStyleSheet(<a class="code" href="class_nav_bar.html#a5ec76402cfefe9da64c1638258cf30dc">NavBar::loadStyle</a>(<span class="stringliteral">&quot;:/styles/office2003gray.css&quot;</span>));</div>
<div class="line">navBar-&gt;<a class="code" href="class_nav_bar.html#aedf27f355d73164760e1f645590e5b20">addPage</a>(<span class="keyword">new</span> QLabel(<span class="stringliteral">&quot;Page 1 contents&quot;</span>), <span class="stringliteral">&quot;Page 1&quot;</span>, QIcon(<span class="stringliteral">&quot;:/images/mail.png&quot;</span>));</div>
<div class="line">navBar-&gt;<a class="code" href="class_nav_bar.html#aedf27f355d73164760e1f645590e5b20">addPage</a>(<span class="keyword">new</span> QLabel(<span class="stringliteral">&quot;Page 2 contents&quot;</span>), <span class="stringliteral">&quot;Page 2&quot;</span>, QIcon(<span class="stringliteral">&quot;:/images/calendar.png&quot;</span>));</div>
</div><!-- fragment --> </dd></dl>
</div><h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="a2cb52d3d9663cccdf42853e5c68d07c9"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">NavBar::NavBar </td>
          <td>(</td>
          <td class="paramtype">QWidget *&#160;</td>
          <td class="paramname"><em>parent</em> = <code>0</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Qt::WindowFlags&#160;</td>
          <td class="paramname"><em>f</em> = <code>0</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">explicit</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Constructs new <a class="el" href="class_nav_bar.html" title="Outlook-like navigation bar. ">NavBar</a> </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">parent</td><td>Parent widget </td></tr>
    <tr><td class="paramname">f</td><td>WindowFlags, passed to QFrame constructor </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a class="anchor" id="aedf27f355d73164760e1f645590e5b20"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int NavBar::addPage </td>
          <td>(</td>
          <td class="paramtype">QWidget *&#160;</td>
          <td class="paramname"><em>page</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Adds widget as new page to navigation bar </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">page</td><td>Widget to be added as new page </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The new page's index </dd></dl>

</div>
</div>
<a class="anchor" id="a042829d06339f41eff9c3a3950271373"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int NavBar::addPage </td>
          <td>(</td>
          <td class="paramtype">QWidget *&#160;</td>
          <td class="paramname"><em>page</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const QString &amp;&#160;</td>
          <td class="paramname"><em>text</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Adds widget as new page to navigation bar </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">page</td><td>Widget to be added as new page </td></tr>
    <tr><td class="paramname">text</td><td>Page text </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The new page's index </dd></dl>

</div>
</div>
<a class="anchor" id="a39ebd1d20f4250d653a08fdbf4a3884b"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int NavBar::addPage </td>
          <td>(</td>
          <td class="paramtype">QWidget *&#160;</td>
          <td class="paramname"><em>page</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const QString &amp;&#160;</td>
          <td class="paramname"><em>text</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const QIcon &amp;&#160;</td>
          <td class="paramname"><em>icon</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Adds widget as new page to navigation bar </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">page</td><td>Widget to be added as new page </td></tr>
    <tr><td class="paramname">text</td><td>Page text </td></tr>
    <tr><td class="paramname">icon</td><td>Page icon </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The new page's index </dd></dl>

</div>
</div>
<a class="anchor" id="ae9b436da1adb6306d615d1dcc9a5cdeb"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">NavBar::currentChanged </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>index</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">signal</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>This signal is emitted when the current item is changed. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">index</td><td>Index of selected page </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a13750e3fdf2448e12eca696737a49530"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">QWidget * NavBar::currentWidget </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Returns a pointer to the current widget, or 0 if there is no such page. </p>
<dl class="section return"><dt>Returns</dt><dd>Current widget </dd></dl>

</div>
</div>
<a class="anchor" id="a266821cb9764b56cfacd81973b3ba94d"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int NavBar::indexOf </td>
          <td>(</td>
          <td class="paramtype">QWidget *&#160;</td>
          <td class="paramname"><em>widget</em></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Returns the index of widget, or -1 if the page does not exist. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">widget</td><td>Widget </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>Widget's index </dd></dl>

</div>
</div>
<a class="anchor" id="ac0bb1c58f83ec4353dd99beaa3fe3d56"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int NavBar::insertPage </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>index</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">QWidget *&#160;</td>
          <td class="paramname"><em>page</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Inserts new page at given position, or at the bottom of the navigation bar if index is out of range. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">index</td><td>Page position </td></tr>
    <tr><td class="paramname">page</td><td>Widget </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The new page's index </dd></dl>

</div>
</div>
<a class="anchor" id="acacd9816c8c42d10a0fc982c374d8e9e"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int NavBar::insertPage </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>index</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">QWidget *&#160;</td>
          <td class="paramname"><em>page</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const QString &amp;&#160;</td>
          <td class="paramname"><em>text</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Inserts new page at given position, or at the bottom of the navigation bar if index is out of range. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">index</td><td>Page position </td></tr>
    <tr><td class="paramname">page</td><td>Widget </td></tr>
    <tr><td class="paramname">text</td><td>Page text </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The new page's index </dd></dl>

</div>
</div>
<a class="anchor" id="a05cdbcba5072c5baa9c456b5204087d4"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int NavBar::insertPage </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>index</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">QWidget *&#160;</td>
          <td class="paramname"><em>page</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const QString &amp;&#160;</td>
          <td class="paramname"><em>text</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const QIcon &amp;&#160;</td>
          <td class="paramname"><em>icon</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Inserts new page at given position, or at the bottom of the navigation bar if index is out of range. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">index</td><td>Page position </td></tr>
    <tr><td class="paramname">page</td><td>Widget </td></tr>
    <tr><td class="paramname">text</td><td>Page text </td></tr>
    <tr><td class="paramname">icon</td><td>Page icon </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The new page's index </dd></dl>

</div>
</div>
<a class="anchor" id="ae420554de1707e6e0c70a96b38a0781a"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool NavBar::isPageEnabled </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>index</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Returns true if the page at given position is enabled; otherwise returns false. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">index</td><td>Page index </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>Enabled or disabled </dd></dl>

</div>
</div>
<a class="anchor" id="a566345ec6b97867a761cb155d41b9136"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool NavBar::isPageVisible </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>index</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Returns true if the page at given position is visible; otherwise returns false. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">index</td><td>Page index </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>Visible or not </dd></dl>

</div>
</div>
<a class="anchor" id="a5ec76402cfefe9da64c1638258cf30dc"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">QString NavBar::loadStyle </td>
          <td>(</td>
          <td class="paramtype">const QString &amp;&#160;</td>
          <td class="paramname"><em>filename</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Helper function, which loads text file and returns it content as QString. There are some style sheets, included in resources under <code>:/styles/</code> path:</p>
<ul>
<li>office2003gray.css</li>
<li>office2003blue.css</li>
<li>office2003green.css</li>
<li>office2003silver.css</li>
<li>office2007blue.css</li>
<li>office2007black.css</li>
<li>office2007silver.css</li>
</ul>
<dl class="section user"><dt>Example:</dt><dd><div class="fragment"><div class="line">navBar-&gt;setStyleSheet(<a class="code" href="class_nav_bar.html#a5ec76402cfefe9da64c1638258cf30dc">NavBar::loadStyle</a>(<span class="stringliteral">&quot;:/styles/office2003gray.css&quot;</span>));</div>
</div><!-- fragment --></dd></dl>
<dl class="section note"><dt>Note</dt><dd>If you want to use style sheets from navbar resource file, when navbar compiled as static library, you should call <code>Q_INIT_RESOURCE(navbar)</code> in your application, see <a href="http://qt-project.org/doc/qt-4.8/qdir.html#Q_INIT_RESOURCE">Q_INIT_RESOURCE</a>.</dd></dl>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">filename</td><td>Style sheet file name </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>Style sheet </dd></dl>

</div>
</div>
<a class="anchor" id="a4a71dfcef64798671896672a4f69e58d"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">QIcon NavBar::pageIcon </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>index</em></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Returns the icon of the page at given position, or a null icon if index is out of range. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">index</td><td>Page index </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>Page icon </dd></dl>

</div>
</div>
<a class="anchor" id="ac35c6bf4f4266aa5cdcb8391a2f5f804"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">QString NavBar::pageText </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>index</em></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Returns the text of the page at given position, or an empty string if index is out of range. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">index</td><td>Page index </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>Page text </dd></dl>

</div>
</div>
<a class="anchor" id="a5bdebb47417bfee027992f9753a80b86"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void NavBar::removePage </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>index</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Removes widget from the <a class="el" href="class_nav_bar.html" title="Outlook-like navigation bar. ">NavBar</a>. i.e., widget is not deleted but simply removed from the navigation bar, causing it to be hidden. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">index</td><td>Index of widget to be removed </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="ace150d052fedc597fffad818dae23991"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool NavBar::restoreState </td>
          <td>(</td>
          <td class="paramtype">const QByteArray &amp;&#160;</td>
          <td class="paramname"><em>state</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>version</em> = <code>0</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Restores the state of navigation bar. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">state</td><td>State data </td></tr>
    <tr><td class="paramname">version</td><td>Version number </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>True if successfull </dd></dl>

</div>
</div>
<a class="anchor" id="afdf5ff0a9c4f1ad8d4ffb156f8829038"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">QByteArray NavBar::saveState </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>version</em> = <code>0</code></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Saves the current state of navigation bar. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">version</td><td>Version number, which be stored as part of the data </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>State data </dd></dl>

</div>
</div>
<a class="anchor" id="ac6dc50ef2979d1f24c14671fc90c0625"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void NavBar::setAutoPopup </td>
          <td>(</td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>enable</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">slot</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>If turned on, navigation bar popup window will appear on page select (when collapsed). </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">enable</td><td>Enable/Disable </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a3b3be5fde1c354c347290095979dda9a"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void NavBar::setCollapsed </td>
          <td>(</td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>collapse</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">slot</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Toggles navigation bar collapsed state. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">collapse</td><td>Collapsed/Normal </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a303f26023046c5af7d65a3ef8dab4462"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void NavBar::setCurrentIndex </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>index</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">slot</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Changes active page. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">index</td><td>Page index </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a39db728c69e16b13b3eb17ac270d2cf4"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void NavBar::setCurrentWidget </td>
          <td>(</td>
          <td class="paramtype">QWidget *&#160;</td>
          <td class="paramname"><em>widget</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">slot</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Makes widget the current widget. The widget must be an item in this navbar. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">widget</td><td>Pointer to widget </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a2fa35eab7589e39fbc6aa4a3ed56e4d6"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void NavBar::setLargeIconSize </td>
          <td>(</td>
          <td class="paramtype">const QSize &amp;&#160;</td>
          <td class="paramname"><em>size</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Sets size of icons in the bottom toolbar. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">size</td><td>Icon size </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="adaf5fb9de50c269d18641d39c82af7e1"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void NavBar::setPageEnabled </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>index</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>enabled</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>If enabled is true then the page at given position is enabled; otherwise the page at position index is disabled. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">index</td><td>Page index </td></tr>
    <tr><td class="paramname">enabled</td><td>Enable or disable </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a632866b095291d8cf1a9ac3a36e8047f"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void NavBar::setPageIcon </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>index</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const QIcon &amp;&#160;</td>
          <td class="paramname"><em>icon</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Sets the icon of the page at given position. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">index</td><td>Page index </td></tr>
    <tr><td class="paramname">icon</td><td>New icon </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a91aa1689149141f84340c1c7b19c73fa"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void NavBar::setPageText </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>index</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const QString &amp;&#160;</td>
          <td class="paramname"><em>text</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Sets the text of the page at given position. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">index</td><td>Page index </td></tr>
    <tr><td class="paramname">text</td><td>New text </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a161eef29241e02a9021d944626c758e0"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void NavBar::setPageVisible </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>index</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>visible</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>If visible is true then the page at given position is visible; otherwise the page at position index is invisible. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">index</td><td>Page index </td></tr>
    <tr><td class="paramname">enabled</td><td>Enable or disable </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="ad6b3ef38648f8e8518711a66bc286cdd"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void NavBar::setRowHeight </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>height</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">slot</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Set height of a row in a page list. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">height</td><td>Row height </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="ac8f7b20544a4005a763d1c7c47fd2795"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void NavBar::setShowCollapseButton </td>
          <td>(</td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>show</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">slot</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Show or hide navigation bar collapse button </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">show</td><td></td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a5931980f3ac2882f397c270280c83700"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void NavBar::setShowHeader </td>
          <td>(</td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>show</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">slot</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Toggles visibility of navbar header </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">show</td><td>Show or hide </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="ab434dd117c10f302a049e5fe91b74bee"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void NavBar::setShowOptionsMenu </td>
          <td>(</td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>show</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">slot</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Toggles visibility of options menu button in <a class="el" href="class_nav_bar.html" title="Outlook-like navigation bar. ">NavBar</a> toolbar. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">show</td><td>Show or hide </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="aead1e4b4549255b8605b852770d996bf"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void NavBar::setSmallIconSize </td>
          <td>(</td>
          <td class="paramtype">const QSize &amp;&#160;</td>
          <td class="paramname"><em>size</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Sets size of icons in the page list. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">size</td><td>Icon size </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a419bd4b209cb89eee639f0ccde62f8a4"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void NavBar::setVisibleRows </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>rows</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">slot</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Set number of currently visible rows. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">rows</td><td>Number of rows </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a6033ae6af305424a006f6eb361cceaa7"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">int NavBar::showOptionsDialog </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">slot</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Shows navigation bar options dialog, allowing user to change page order and visibility. </p>
<dl class="section return"><dt>Returns</dt><dd>DialogCode result. </dd></dl>

</div>
</div>
<a class="anchor" id="a87fab1414f5f542fb9443baaf65c6beb"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">NavBar::stateChanged </td>
          <td>(</td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>collapsed</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">signal</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>This signal is emitted when navigation bar collapsed or expanded. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">collapsed</td><td>True if collapsed </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="af9c86e54eb3d993f6c5dfca101481102"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">NavBar::visibleRowsChanged </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>rows</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">signal</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>This signal is emitted when number of visible rows in navigation bar page list changed, e.g. when splitter is moved. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">rows</td><td>Number of visible rows </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a98a5ec36278fd554e4f0614e11da5a21"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">QWidget * NavBar::widget </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>index</em></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Returns the widget at given index, or 0 if there is no such widget. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">index</td><td>Widget index </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>Widget </dd></dl>

</div>
</div>
<h2 class="groupheader">Property Documentation</h2>
<a class="anchor" id="ac2342f2b72fe1780a0a0c14e798c4f22"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">bool NavBar::autoPopup</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">read</span><span class="mlabel">write</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>If turned on, navigation bar popup window will appear on page select (when collapsed). </p>
<dl class="section user"><dt>Access functions:</dt><dd>bool autoPopup() const<br/>
 void <a class="el" href="class_nav_bar.html#ac6dc50ef2979d1f24c14671fc90c0625">setAutoPopup(bool)</a> </dd></dl>

</div>
</div>
<a class="anchor" id="accea864af84adccce1b939d298030cba"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">NavBar::collapsed</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">read</span><span class="mlabel">write</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Sets navigation bar collapsed state on/off </p>
<dl class="section user"><dt>Access functions:</dt><dd>bool isCollaped() const<br/>
 void <a class="el" href="class_nav_bar.html#a3b3be5fde1c354c347290095979dda9a">setCollapsed(bool)</a> </dd></dl>
<dl class="section user"><dt>Signals:</dt><dd><a class="el" href="class_nav_bar.html#a87fab1414f5f542fb9443baaf65c6beb">stateChanged(bool)</a> </dd></dl>

</div>
</div>
<a class="anchor" id="ad55561dee8cf9d64113f461532e258ac"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">int NavBar::count</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">read</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Number of pages in navigation bar. </p>
<dl class="section user"><dt>Access functions:</dt><dd>int count() const </dd></dl>

</div>
</div>
<a class="anchor" id="aaf65675f7d4a765affeb317e0db9eab9"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">int NavBar::currentIndex</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">read</span><span class="mlabel">write</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>This property holds the index of the current page. </p>
<dl class="section user"><dt>Access functions:</dt><dd>int currentIndex() const<br/>
 void <a class="el" href="class_nav_bar.html#a303f26023046c5af7d65a3ef8dab4462">setCurrentIndex(int)</a> </dd></dl>
<dl class="section user"><dt>Signals:</dt><dd><a class="el" href="class_nav_bar.html#ae9b436da1adb6306d615d1dcc9a5cdeb">currentChanged(int)</a> </dd></dl>

</div>
</div>
<a class="anchor" id="ac5c9bb2692316c6b35b62ed6a5a9a52a"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">QSize NavBar::largeIconSize</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">read</span><span class="mlabel">write</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>This property holds size of icons in the page list. </p>
<dl class="section user"><dt>Access functions:</dt><dd>int smallIconSize() const<br/>
 void setSmallIconSize(int) </dd></dl>

</div>
</div>
<a class="anchor" id="a1e99abd758accd2667223ed3c1c68311"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">int NavBar::rowHeight</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">read</span><span class="mlabel">write</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>This property holds height of a row in a page list. </p>
<dl class="section user"><dt>Access functions:</dt><dd>int rowHeight() const<br/>
 void <a class="el" href="class_nav_bar.html#ad6b3ef38648f8e8518711a66bc286cdd">setRowHeight(int)</a> </dd></dl>

</div>
</div>
<a class="anchor" id="a746af848ef80d6cfc14d44e72232ce4d"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">bool NavBar::showCollapseButton</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">read</span><span class="mlabel">write</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Show or hide navigation bar collapse button </p>
<dl class="section user"><dt>Access functions:</dt><dd>bool showCollapseButton() const<br/>
 void <a class="el" href="class_nav_bar.html#ac8f7b20544a4005a763d1c7c47fd2795">setShowCollapseButton(bool)</a> </dd></dl>

</div>
</div>
<a class="anchor" id="ad64e48b9cab631ffd18e6a29e22d37c3"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">bool NavBar::showHeader</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">read</span><span class="mlabel">write</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>This property controls visibility of <a class="el" href="class_nav_bar.html" title="Outlook-like navigation bar. ">NavBar</a> header. </p>
<dl class="section user"><dt>Access functions:</dt><dd>bool showHeader() const<br/>
 void <a class="el" href="class_nav_bar.html#a5931980f3ac2882f397c270280c83700">setShowHeader(bool)</a> </dd></dl>

</div>
</div>
<a class="anchor" id="afd7fbc48d10af2d8a89abaf146b3085e"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">bool NavBar::showOptionsMenu</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">read</span><span class="mlabel">write</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>This property controls visibility of options menu button in <a class="el" href="class_nav_bar.html" title="Outlook-like navigation bar. ">NavBar</a> toolbar. </p>
<dl class="section user"><dt>Access functions:</dt><dd>bool showOptionsMenu() const<br/>
 void <a class="el" href="class_nav_bar.html#ab434dd117c10f302a049e5fe91b74bee">setShowOptionsMenu(bool)</a> </dd></dl>

</div>
</div>
<a class="anchor" id="abd5af291f9273af49469415339411df3"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">QSize NavBar::smallIconSize</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">read</span><span class="mlabel">write</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>This property holds size of icons in the bottom toolbar. </p>
<dl class="section user"><dt>Access functions:</dt><dd>int smallIconSize() const<br/>
 void setSmallIconSize(int) </dd></dl>

</div>
</div>
<a class="anchor" id="a68a6c79da84d770f03d172c2545c0873"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">int NavBar::visibleRows</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">read</span><span class="mlabel">write</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>This property holds number of currently visible rows. It's value changed when splitter is moved. </p>
<dl class="section user"><dt>Access functions:</dt><dd>int visibleRows() const<br/>
 void <a class="el" href="class_nav_bar.html#a419bd4b209cb89eee639f0ccde62f8a4">setVisibleRows(int)</a> </dd></dl>
<dl class="section user"><dt>Signals:</dt><dd><a class="el" href="class_nav_bar.html#af9c86e54eb3d993f6c5dfca101481102">visibleRowsChanged(int)</a> </dd></dl>

</div>
</div>
<hr/>The documentation for this class was generated from the following files:<ul>
<li>E:/mydev/QtNavigationBar/qt-navigation-bar/src/<a class="el" href="navbar_8h_source.html">navbar.h</a></li>
<li>E:/mydev/QtNavigationBar/qt-navigation-bar/src/navbar.cpp</li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Sat May 31 2014 16:59:15 for NavBar by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.5
</small></address>
</body>
</html>
